/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mysweethome.sessionbean;

import javax.ejb.Stateless;
import mysweethome.dao.GeneralInfoDAO;
import mysweethome.entities.GeneralInfo;

/**
 *
 * @author johan
 */
@Stateless
public class GeneralInfoSEJB extends AbstractBaseEJB implements GeneralInfoSEJBLocal {

    private GeneralInfoDAO gInfoDAO;

    public GeneralInfoSEJB() {
        gInfoDAO = new GeneralInfoDAO(em);
    }


    public GeneralInfo getByID(String id) {
        return gInfoDAO.findByPropertyInfoID(id);
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
